package com.crane.oss.common.bean.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author kevin.wlb
 * @Title VerifyCodeRequest.java
 * @Description 获取验证码请求对象
 * @createTime 2019年6月11日
 */
@Getter
@Setter
@ToString
@ApiModel(description = "获取登录短信验证码参数")
public class LoginCodeRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登录用户名", name = "userName")
    @NotNull(message = "登录用户名不能为空")
    private String userName;


}
